* lisp/button.el (button--area-button-p): Fix typo (defun is not defalias).
authorGlenn Morris <rgm@gnu.org>
Wed, 12 Dec 2012 22:39:29 +0000 (17:39 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 12 Dec 2012 22:39:29 +0000 (17:39 -0500)
lisp/ChangeLog
lisp/button.el

index a5ba3c7aadfc03e783d2d30fd469a0ffb449a19c..cffe74297b5ee5e7c1f384cf7d0cafbdb59f0706 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-12  Glenn Morris  <rgm@gnu.org>
+
+       * button.el (button--area-button-p): Fix typo.
+
 2012-12-12  Sam Steingold  <sds@gnu.org>
 
        * frame.el (frame-maximization-style): New user option.
index f15f09f24db0574ef853da900647105cb10dabec..f93d08f2e3d103d185d0e4fa4746bcb9abaea34d 100644 (file)
@@ -258,9 +258,10 @@ header-line) a string."
   "Return t if BUTTON has button-type TYPE, or one of TYPE's subtypes."
   (button-type-subtype-p (button-get button 'type) type))
 
-(defun button--area-button-p (b) (stringp (car-safe b))
+(defun button--area-button-p (b)
   "Return non-nil if BUTTON is an area button.
-Such area buttons are used for buttons in the mode-line and header-line.")
+Such area buttons are used for buttons in the mode-line and header-line."
+  (stringp (car-safe b)))
 
 (defalias 'button--area-button-string #'car
   "Return area button BUTTON's button-string.")